# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding field 'PreparedProduct.mid'
        db.add_column(u'sdk_preparedproduct', 'mid',
                      self.gf('django.db.models.fields.CharField')(default='', max_length=255),
                      keep_default=False)


    def backwards(self, orm):
        # Deleting field 'PreparedProduct.mid'
        db.delete_column(u'sdk_preparedproduct', 'mid')


    models = {
        u'sdk.cache': {
            'Meta': {'object_name': 'Cache'},
            'content': ('django.db.models.fields.TextField', [], {}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'keyword': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        u'sdk.preparedproduct': {
            'Meta': {'object_name': 'PreparedProduct'},
            'bid': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'mid': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'sid': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'spname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'sppic': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'spprice': ('django.db.models.fields.DecimalField', [], {'max_digits': '9', 'decimal_places': '2'}),
            'spurl': ('django.db.models.fields.CharField', [], {'max_length': '255'})
        }
    }

    complete_apps = ['sdk']